package com.fzu.commonutil.mapper;

import com.fzu.commonutil.entity.Demand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fzu.commonutil.params.SelectResult;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zyq
 * @since 2023-03-26
 */
public interface DemandMapper extends BaseMapper<Demand> {

    /**
     * 最近六个月每月新增需求数
     * @return
     */
    List<SelectResult> sixMonthNewCount(@Param("companyId") Integer companyId);


}
